package polymorphic;

public class Teacher extends People{
    String name = "老师";

    //方法重写
    @Override
    public void run() {
        System.out.println("老师跑的很慢");
        System.out.println(name);
    }
}
